import Vue from 'vue'
import * as custom from '../util/filter'
import Element from 'element-ui'
import '../assets/styles/common.less'
if (process.client) {
  require('../assets/styles/iconfont.js')
}
import MainDirective from '../util/directives'
import VueClipboard from 'vue-clipboard2'
Vue.use(Element);
// import LuckDraw from 'vue-luck-draw'
// Vue.use(LuckDraw)

import iView from 'iview';
Vue.use(iView);
Vue.use(MainDirective)
Vue.use(VueClipboard)


Object.keys(custom).forEach(item => Vue.filter(item, custom[item]))
